package com.zhilianzhonghe.jinyu.fragment;

import java.util.List;

import tools_util.JSONParseUtils;

import com.example.jinyu.R;
import com.example.jinyu.Service.ServiceUtil;

import db.bean.Notifys;

import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class FanWuZuShouFragment extends Fragment {
	
	private List<String> list;
	private String path;
	
	
	private Handler handler=new Handler(){
		@Override
		public void handleMessage(android.os.Message msg) {
			switch (msg.arg1) {
			case 1:
				List<Notifys> list_notify=JSONParseUtils.getJsonString((String)(msg.obj), Notifys.class);
				break;

			default:
				break;
			}
		};
	};
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
//		ServiceUtil.getResultFromNet(path, null, handler, 1);
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View v=inflater.inflate(R.layout.fg_zufan, container, false);
		ListView lv_zufan=(ListView) v.findViewById(R.id.listView_zufan);
		return v;
	}
}
